//
//  DetailedCell.m
//  ASHT_IOS
//
//  Created by 宋安安 on 14-4-4.
//  Copyright (c) 2014年 宋安安. All rights reserved.
//

#import "DetailedCell.h"

@implementation DetailedCell
@synthesize imgae;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)imageUrl:(NSString *)url
{
    NSString *str_url=[NSString stringWithFormat:SERVER_BASICE_URL@"phone!getImg.action?imgUrl=%@",url];
    NSURL *imageurl=[[NSURL alloc] initWithString:str_url];
    [imgae setImageURL:imageurl];
    if (imgae.image==nil) {
        imgae.image=[UIImage imageNamed:@"l_title.png"];
    }
}
@end
